package com.hdrx.fundhelper.inter;


import java.lang.annotation.*;

/**
 * @author: houdx
 * @description:
 * @date: 2023/7/28 14:46
 */
@Target({ElementType.METHOD,ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface RedisCache {
    /**
     * 缓存命字
     * @return
     */
    String cacheName() default "";

    /**
     * 参数
     * @return
     */
    String key() default "";
}
